package com.shengwei.truck.driver.utils.glide;
import android.content.Context;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.shengwei.truck.driver.R;
import com.youth.banner.loader.ImageLoader;
import static com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions.withCrossFade;

public class GlideImagesLoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        Glide.with(context).load(path)
                .transition(withCrossFade())
                .into(imageView);
    }
}
